package com.pxst.agent.req;

import com.pxst.req.BasePageRsp;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.sql.Date;
import java.util.List;

@Data
public class RateSettingCreateReq {

    @ApiModelProperty(value = "代理id" ,required = true)
    @NotNull(message = "代理id不能为空")
    private Long agentId;

    @ApiModelProperty(value = "商户" ,required = true)
    @NotNull(message = "商户不能为空")
    private Long merchantId;

    @ApiModelProperty(value = "银行充值抽成 (%)" ,required = true)
    @NotNull(message = "银行充值抽成 (%)不能为空")
    private Double bdmRate;

    @ApiModelProperty(value = "银行充值回扣方案")
    private Long bdrsRpId;

    @ApiModelProperty(value = "QR充值抽成 (%)" ,required = true)
    @NotNull(message = "QR充值抽成 (%)不能为空")
    private Double qdmRate;

    @ApiModelProperty(value = "QR充值回扣方案")
    private Long qdrsRpId;

    @ApiModelProperty(value = "true wallet充值抽成 (%)" ,required = true)
    @NotNull(message = "true wallet充值抽成 (%)不能为空")
    private Double twdmRate;

    @ApiModelProperty(value = "true wallet充值回扣方案")
    private Long twdrsRpId;

    @ApiModelProperty(value = "代付抽成 (%)" ,required = true)
    @NotNull(message = "代付抽成 (%)不能为空")
    private Double wdmRate;

    @ApiModelProperty(value = "代付回扣方案")
    private Long wrsRpId;

    @ApiModelProperty(value = "年份" ,required = true)
    @NotNull(message = "年份不能为空")
    private Integer year;

    @ApiModelProperty(value = "月份" ,required = true)
    @NotNull(message = "月份不能为空")
    private Integer month;

    @ApiModelProperty(value = "地区" ,required = true)
    @NotBlank(message = "地区不能为空")
    private String currency;
}
